package com.pf.auth.model.dto;

import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

import java.io.Serializable;
import java.util.List;
import java.util.Map;
import java.util.Set;

@Data
public class ClientDetailsDto implements Serializable {
    public final static String Scope = "all";
    private static final long serialVersionUID = 1L;
    private String clientId;
    private String clientSecret;
//    private Set<String> scope;
    private Set<String> resourceIds;
    private Set<String> authorizedGrantTypes;
    private Set<String> registeredRedirectUris;
//    private Set<String> autoApproveScopes;
    private List<GrantedAuthority> authorities;
    private Integer accessTokenValiditySeconds;
    private Integer refreshTokenValiditySeconds;
    private Map<String, Object> additionalInformation;

}
